#include <stdio.h>
#include <unistd.h> 

#define RESET   "\033[0m"
#define RED     "\033[31m"
#define PINK    "\033[35m"

void printHeart() {
	const char *heart[] = {
		"    ******    *******      ",
		"   ********* **********    ",
		"  **********************   ",
		" ************************ ",
		"**************************",
		" ************************ ",
		"   ********************   ",
		"     ****************     ",
		"       ***********        ",
		"         ********        ",
		"           ****          ",
		"            **           "
	};
	
	for (int i = 0; i < sizeof(heart) / sizeof(heart[0]); i++) {
		printf("%s%s%s\n", PINK, heart[i], RESET);
		usleep(300000);
	}
	
	printf("%s    Hello OpenHarmony!    %s\n", RED, RESET);
}

int main() {
	sleep(1);
	printHeart();
	return 0;
}
